package com.yenlien.traceyun.control.entity;

import com.yenlien.traceyun.webase.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 广告管理
 *
 * @author aaa
 */
@Entity
@Table(name = "t_banner")
public class Banner extends BaseEntity {
    @Column
    private String projectId;        //产品ID
    @Column
    private String projectName;        //产品名称
    @Column
    private String type;            //广告类型(PC、APP)
    @Column
    private String version;            //版本
    @Column
    private String bannerName;        //广告名称
    @Column
    private int isTrue;                //是否为联盟广告(0:否、1：是)
    @Column
    private String time;            //投放时间段
    @Column
    private String bannerImg;        //广告图片
    @Column
    private String bannerUrl;        //广告链接地址
    @Column
    private String leagueName;        //联盟名称
    @Column
    private String bannerCode;        //广告代码
    @Column
    private String isUse;            //是否投放(0:未投放，1：投放中，2：已过期)

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getBannerName() {
        return bannerName;
    }

    public void setBannerName(String bannerName) {
        this.bannerName = bannerName;
    }

    public int getIsTrue() {
        return isTrue;
    }

    public void setIsTrue(int isTrue) {
        this.isTrue = isTrue;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getBannerImg() {
        return bannerImg;
    }

    public void setBannerImg(String bannerImg) {
        this.bannerImg = bannerImg;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public String getLeagueName() {
        return leagueName;
    }

    public void setLeagueName(String leagueName) {
        this.leagueName = leagueName;
    }

    public String getBannerCode() {
        return bannerCode;
    }

    public void setBannerCode(String bannerCode) {
        this.bannerCode = bannerCode;
    }

    public String getIsUse() {
        return isUse;
    }

    public void setIsUse(String isUse) {
        this.isUse = isUse;
    }
}
